package org.winexpress

class Invoice {
    
    static hasOne =[ customer:Customer]
    static hasMany = [payment:Payment,invoiceItem:InvoiceItem]
    int id
    Date createDate = new Date()
    String deliveryAddress
    Date deliveryDate
    static constraints = {
    }
}
